package com.heima.admin.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @作者 itcast
 * @创建日期 2021/2/3 14:52
 **/
@Configuration
public class FeignConfig {

    @Bean
    public Logger.Level level(){
        // 让feign打印详细的日志
        return Logger.Level.FULL;
    }
}
